package net.hn.hnms.biz.activiti.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * 智呈物联 pansx
 * 2021/10/24 15:29
 * 1.0 version
 */
@Data
@ApiModel(value = "流程启动请求体", description = "当前登录人为第一个节点的审批人时，第一个节点会执行")
public class StartProcessVo {
    @ApiModelProperty(value = "流程定义ID,与key值必传一个")
    private String processDefinitionId;
    @ApiModelProperty(value = "流程定义key,与Id值必传一个")
    private String key;
    @ApiModelProperty(value = "业务id", required = true)
    private String businessKey;
    @ApiModelProperty(value = "流程名称")
    private String name;
    @ApiModelProperty(value = "流程参数")
    private Map<String, Object> processParams = new HashMap<>();
    @ApiModelProperty(value = "节点参数")
    private Map<String, Object> nodeParams = new HashMap<>();

    @ApiModelProperty(value = "form参数")
    private Map<String, String> formMap=new HashMap<>();

    @ApiModelProperty(value = "是否执行当前节点")
    private boolean nextNode=true;

    private String mineCode;


}
